package com.gp.testonline.dao;

import com.gp.testonline.eo.ExamquestionEOPage;
import com.gp.testonline.model.Examquestion;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/*
 *操作数据库方法的对接
 */
@Mapper
public interface ExamquestionMapper {
    //添加考题
    int insertExamquestion(Examquestion examquestion);

    //修改考题
    int updateExamquestion(Examquestion examquestion);

    //删除考题
    int deleteExamquestion(Integer eqid);

    //通过考题号获取数量
    int getEqnumberCount(Integer eqnumber);

    //查询考题
    List<ExamquestionEOPage> getExamquestionAll(ExamquestionEOPage examquestionEOPage);
}
